package cn.conf;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@ComponentScan({"cn.dao", "cn.service"})
@Import({DataSourceConf.class, TransactionConf.class})
@PropertySource("dataSource.properties")
@EnableTransactionManagement
public class SpringConf {

}
